package day06;

public class MethdDemo {
    public static void main(String[] args) {
        sayhello("杨大傻","莞城");
        sayhi("杨二傻");
     double a=DE();
     System.out.println(a);
int num=num(15,16);
System.out.println(num);
double kell=all(0.2,0.3);
System.out.println(kell);
double n=12.0,b=14.3;
double ai=all(n,b);
System.out.println(ai);
int aa=10,bb=12;
int cd=num(aa,bb);
System.out.println(cd);
int re=10,rr=10;
int fe=num(re,rr);
System.out.println(fe);

    }
    public static void hell(){
        System.out.println("大傻逼");
    }



   public static void sayhi(String name){
        System.out.println("你叫"+name+"今年17");
   }
      public static void sayhello (String name,String address){
       System.out.println("你叫"+name+"家住"+address);
  }
 public static double  DE(){
        return 6.66;
 }
public static int num(int num1,int num2){
        int num=num1+num2;
        return num;
}
public static double all(double da,double re){
        double bell=da*re;
                return bell;
}


}
